import React, { Component } from "react";

class title extends Component {
  constructor(props) {
    super(props);
  }
  render() {
    return (
      <React.Fragment>
        <div className="ent_top">
          <div className="left">{this.props.left}</div>
          {this.props.right && <div className="right">{this.props.right}</div>}
        </div>
      </React.Fragment>
    );
  }
}

export default title;
